package health_system.health_system.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.NOT_FOUND)
public class FollowNotFoundException extends ResourceNotFoundException {
    
    public FollowNotFoundException(Long followerId, Long followedId) {
        super(String.format("Follow relationship not found between follower ID %d and followed ID %d", 
                followerId, followedId));
    }
    
    public FollowNotFoundException(Long followId) {
        super("Follow", "id", followId);
    }
} 